package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Xiaoxing Yu
 * @date 2020/10/15
 **/
@Data
@TableName("online_course_info")
public class OnlineCourseInfo {

	//自增主键
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	//上课日期
	private String courseDate;

	//老师会员ID
	private String teacherId;

	//学生会员ID
	private String studentId;

	//上课时长(分钟)
	private Integer courseDuration;

	//当天最早上课创建时间
	private LocalDateTime createTime;

}
